package com.hksj.Intelligentmanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hksj.Intelligentmanagement.dto.CallDeviceScreenDTO;
import com.hksj.Intelligentmanagement.entity.CallDeviceScreenEntity;
import com.hksj.Intelligentmanagement.vo.CallDeviceScreenVo;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface CallDeviceScreenMapper extends BaseMapper<CallDeviceScreenEntity> {
    List<CallDeviceScreenVo> queryCallDeviceScreenListByPage(Page<CallDeviceScreenVo> page, @Param("deviceScreenDTO") CallDeviceScreenDTO deviceScreenDTO);

    CallDeviceScreenVo getByOperatingRoomNo(@Param("operatingRoomNo") String operatingRoomNo);
}
